//
//  ControlTemplateViewPhotoController.h
//  Uhomebk
//
//  Created by 揭婧雯 on 17/3/3.
//  Copyright © 2017年 com.segi. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "ImageEditView.h"

#pragma mark -
#pragma mark 图片框控件【photo】

@protocol ControlTemplateViewPhotoControllerDelegate <NSObject>

-(void)onFeeRefeshUI;

@end

@interface ControlTemplateViewPhotoController:UIViewController<UINavigationControllerDelegate,UIImagePickerControllerDelegate,ImageEditDelegate>
{
    UIView *contentView;
    
    NSOperationQueue *queue;
    
    NSMutableArray *saveImageArray;
    
    BOOL isUploadSuccess;       /**<是否上传过*/
}

+ (ControlTemplateViewPhotoController *)sharedManagerPhoto;
@property (nonatomic,weak) id<ControlTemplateViewPhotoControllerDelegate>fundelegate;
@property (nonatomic,strong) UIViewController *masterVC;
@property (nonatomic,retain) NSDictionary *params;
@property (nonatomic,strong) UIView *bgMainView;

@property (nonatomic, strong)   NSMutableArray              *picDataArray;      /**<图片组*/
@property (nonatomic, strong)   NSString                    *param_id;          /**<控件的paramID*/
@property (nonatomic, strong)   NSString                    *valueStr;          /**<保存控件的值*/
@property (nonatomic, strong)   NSString                    *optional;          /**<是否必填项 0-必填  1-非必填*/

/**
 *  给图像填充值
 *
 *  @param valueStr 接收字符串值
 */
-(void)paddingPhotoView:(id)attrValue;

@end

